package org.dawning.shop.common.events.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dawning.shop.common.domain.order.OrderId;
import org.dawning.shop.common.domain.order.OrderProduct;
import org.dawning.shop.common.vo.Address;

import java.util.Map;

/**
 * Created by miou on 2017/6/8 0008.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderCreateEvent {

    private OrderId orderId;

    /** 下单人ID*/
    private String buyer;

    private Map<String,OrderProduct> orderProducts;

    private Address address;
}
